package com.smartinput.device.domain.repository

import com.smartinput.device.domain.model.Device
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository

@Repository
interface DeviceRepository : JpaRepository<Device, String> {
    fun findByDeviceId(deviceId: String): Device?
    fun existsByDeviceId(deviceId: String): Boolean
}